package com.woniuxy.woniubook.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.woniubook.entity.Book;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wugd
 * @since 2022-11-16 02:13:11
 */
public interface BookService extends IService<Book> {

    List<Book> getBookByTopTen();


    Page<Book> getBookByPageAndTypeId(Integer now, Integer size, Integer tid , String searchName);
}
